package com.hoshiicloud.vericenter.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

/**
* <p>
    * 表述系统平台功能
    * </p>
*
* @author Mr.Wu
* @since 2019-05-20
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @ApiModel(value="SysMessagesVO对象", description="表述系统平台功能")
    public class SysMessagesVO implements Serializable {

    private static final long serialVersionUID = 1L;

            @ApiModelProperty(value = "id")
            @TableId("id")
    private Long id;

            @ApiModelProperty(value = "手机号码")
        @TableField("mobile")
    private String mobile;

            @ApiModelProperty(value = "消息内容")
        @TableField("context")
    private String context;

            @ApiModelProperty(value = "动态码")
        @TableField("randcode")
    private String randcode;

            @ApiModelProperty(value = "类别  1- 验证类  2-通知类")
        @TableField("type")
    private Integer type;

            @ApiModelProperty(value = "发送时间")
        @TableField("sent_time")
    private LocalDateTime sentTime;

            @ApiModelProperty(value = "失效时间")
        @TableField("expires_time")
    private LocalDateTime expiresTime;

            @ApiModelProperty(value = "是否有效  0-失效 1-有效")
        @TableField("available")
    private Integer available;


}
